package com.example.managesystem.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class TimeDto implements Serializable {


    //项目申报开始时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate setupStart;

    @JsonProperty("setupEnd")
   @JsonFormat(pattern = "yyyy-MM-dd")
   private LocalDate setupEnd;

@JsonProperty("miditemStart")
    @JsonFormat(pattern = "yyyy-MM-dd")
   private LocalDate miditemStart;

@JsonProperty("miditemEnd")
   @JsonFormat(pattern = "yyyy-MM-dd")
   private LocalDate miditemEnd;

@JsonProperty("completedStart")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate completedStart;

@JsonProperty("completedEnd")
   @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate completedEnd;



    public LocalDate getSetupStart() {
        return setupStart;
    }

    public LocalDate getSetupEnd() {
        return setupEnd;
    }

    public LocalDate getMiditemStart() {
        return miditemStart;
    }

    public LocalDate getMiditemEnd() {
        return miditemEnd;
    }

    public LocalDate getCompletedStart() {
        return completedStart;
    }

    public LocalDate getCompletedEnd() {
        return completedEnd;
    }



    public void setSetupStart(LocalDate setupStart) {
        this.setupStart = setupStart;
    }

    public void setSetupEnd(LocalDate setupEnd) {
        this.setupEnd = setupEnd;
    }

    public void setMiditemStart(LocalDate miditemStart) {
        this.miditemStart = miditemStart;
    }

    public void setMiditemEnd(LocalDate miditemEnd) {
        this.miditemEnd = miditemEnd;
    }

    public void setCompletedStart(LocalDate completedStart) {
        this.completedStart = completedStart;
    }

    public void setCompletedEnd(LocalDate completedEnd) {
        this.completedEnd = completedEnd;
    }
}
